package cn.stylefeng.guns.modular.gridsystem.mapper;


import cn.stylefeng.guns.modular.gridsystem.model.param.BizGatewayScheduleParam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.gridsystem.entity.BizGatewaySchedule;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * biz_gateway_schedule Mapper 接口
 *
 * @author ssy
 * @date 2021/09/14 11:47
 */
public interface BizGatewayScheduleMapper extends BaseMapper<BizGatewaySchedule> {

    Integer getCountByGateWay(@Param("gatewayId") Integer gatewayId);

    Page<Map<String, Object>> pageList(@Param("page") Page page, @Param("param") BizGatewayScheduleParam param, @Param("list") String[] list);
}
